package com.ant.storage.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author hzd
 * @version 1.0
 * @date 2023/8/9 14:01
 */
@Data
public class InventoryLogVo {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("仓库id")
    private Integer warehouseId;

    @ApiModelProperty("库存物品id")
    private Integer inventoryId;

    @ApiModelProperty("数量")
    private String goodsAmount;

    @ApiModelProperty("价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty("出入类型 1 采购入库 2 出库")
    private Integer stockState;

    private Integer purchaserId;

    @ApiModelProperty("操作人")
    @TableField("creator_by")
    private String creatorBy;

    @ApiModelProperty("时间")
    @TableField("creation_time")
    private Date creationTime;

    @ApiModelProperty("备注")
    @TableField("creator_by")
    private String  remark;

    @ApiModelProperty("物品名称")
    private String commodityName;

    @ApiModelProperty("物品类型")
    private String commodityType;

    @ApiModelProperty("渠道")
    private String channelId;

    @ApiModelProperty("结存")
    private String balanceMsg;
}
